
import java.util.Arrays;
public class Test {
    public static void mergeTest(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.merge(arr);
        System.out.println(Arrays.toString(arr));
    }
    public static void noquickTest(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.noquick(arr);
        System.out.println(Arrays.toString(arr));
    }
    public static void quickTest(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.quick(arr);
        System.out.println(Arrays.toString(arr));
    }
    public  static  void bubbleTest(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.bubble(arr);
        System.out.println(Arrays.toString(arr));
    }
    public  static  void selectTest(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.select(arr);
        System.out.println(Arrays.toString(arr));
    }
    public static  void testShell(int [] arr){
         arr=Arrays.copyOf(arr,arr.length);
         sevenSort.shell(arr);
        System.out.println(Arrays.toString(arr));
    }
    /*
    public static void testInsert(int [] arr){
        arr=Arrays.copyOf(arr,arr.length);
        sevenSort.insertSort(arr);
        System.out.println(Arrays.toString(arr));
    }

     */
    public static void main(String[] args) {
        int [] arr=new int[]{7,10,8,13,5,9,11};
        //testInsert(arr);
        //testShell(arr);
        //selectTest(arr);
        //bubbleTest(arr);
       //quickTest(arr);
       //noquickTest(arr);
        mergeTest(arr);
    }
}
